import request from '@/utils/request.js'

//支付
export const getPayCode = (order, type) =>
  request.patch(`/api/orders/${order}/paytest`, { type })

//查询支付状态
export const searchPayStatus = (order) => request(`/api/orders/${order}/status`)
